package com.mc.code.entity;

import java.util.Date;

public class Advise {
    private int id; //主键
    private String image;//用户头像
    private int userNo;//用户编号
    private String type;//身份（1：开发方；2：需求方）
    private String nickName;//昵称
    private String messageNo;//建议编号
    private String messageState;//建议状态
    private Date createTime;//建议创建的时间
    private Date replyTime;//管理员回复建议的时间
    private String messageContent;//建议的内容
    private String replyContent;//回复的内容

    public Advise() {
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getMessageNo() {
        return messageNo;
    }

    public void setMessageNo(String messageNo) {
        this.messageNo = messageNo;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserNo() {
        return userNo;
    }

    public void setUserNo(int userNo) {
        this.userNo = userNo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public String getMessageState() {
        return messageState;
    }

    public void setMessageState(String messageState) {
        this.messageState = messageState;
    }

    @Override
    public String toString() {
        return "Advise{" +
                "id=" + id +
                ", userNo=" + userNo +
                ", type=" + type +
                ", nickName='" + nickName + '\'' +
                ", createTime=" + createTime +
                ", replyTime=" + replyTime +
                ", messageContent='" + messageContent + '\'' +
                ", replyContent='" + replyContent + '\'' +
                '}';
    }
}
